home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmbbbbDDDDrrrraaaawwwwTTTTeeeexxxxtttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXmmmmbbbbDDDDrrrraaaawwwwTTTTeeeexxxxtttt((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XmbDrawText, XwcDrawText - draw text using multiple font
- sets
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- void XmbDrawText(_d_i_s_p_l_a_y, _d, _g_c, _x, _y, _i_t_e_m_s, _n_i_t_e_m_s)
- Display *_d_i_s_p_l_a_y;
- Drawable _d;
- GC _g_c;
- int _x, _y;
- XmbTextItem *_i_t_e_m_s;
- int _n_i_t_e_m_s;
-
- void XwcDrawText(_d_i_s_p_l_a_y, _d, _g_c, _x, _y, _i_t_e_m_s, _n_i_t_e_m_s)
- Display *_d_i_s_p_l_a_y;
- Drawable _d;
- GC _g_c;
- int _x, _y;
- XwcTextItem *_i_t_e_m_s;
- int _n_i_t_e_m_s;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _d Specifies the drawable.
-
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _g_c Specifies the GC.
-
- _i_t_e_m_s Specifies an array of text items.
-
- _n_i_t_e_m_s Specifies the number of text items in the array.
-
- _x
- _y Specify the x and y coordinates.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_m_b_D_r_a_w_T_e_x_t and _X_w_c_D_r_a_w_T_e_x_t functions allow complex
- spacing and font set shifts between text strings. Each text
- item is processed in turn, with the origin of a text element
- advanced in the primary draw direction by the escapement of
- the previous text item. A text item delta specifies an
- additional escapement of the text item drawing origin in the
- primary draw direction. A font_set member other than _N_o_n_e
- in an item causes the font set to be used for this and
- subsequent text items in the text_items list. Leading text
- items with a font_set member set to _N_o_n_e will not be drawn.
-
- _X_m_b_D_r_a_w_T_e_x_t and _X_w_c_D_r_a_w_T_e_x_t do not perform any context-
- dependent rendering between text segments. Clients may
- compute the drawing metrics by passing each text segment to
- _X_m_b_T_e_x_t_E_x_t_e_n_t_s and _X_w_c_T_e_x_t_E_x_t_e_n_t_s or _X_m_b_T_e_x_t_P_e_r_C_h_a_r_E_x_t_e_n_t_s
- and _X_w_c_T_e_x_t_P_e_r_C_h_a_r_E_x_t_e_n_t_s. When the _X_F_o_n_t_S_e_t has missing
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmbbbbDDDDrrrraaaawwwwTTTTeeeexxxxtttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXmmmmbbbbDDDDrrrraaaawwwwTTTTeeeexxxxtttt((((3333XXXX11111111))))
-
-
-
- charsets, each unavailable character is drawn with the
- default string returned by _X_C_r_e_a_t_e_F_o_n_t_S_e_t. The behavior for
- an invalid codepoint is undefined.
-
- SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
- The _X_m_b_T_e_x_t_I_t_e_m structure contains:
- typedef struct {
- char *chars; /* pointer to string */
- int nchars; /* number of bytes */
- int delta; /* pixel delta between strings */
- XFontSet font_set; /* fonts, None means don't change */
- } XmbTextItem;
- The _X_w_c_T_e_x_t_I_t_e_m structure contains:
- typedef struct {
- wchar_t *chars; /* pointer to wide char string */
- int nchars; /* number of wide characters */
- int delta; /* pixel delta between strings */
- XFontSet font_set; /* fonts, None means don't change */
- } XwcTextItem;
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11),
- XmbDrawImageString(3X11), XmbDrawString(3X11)
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-